package com.wyg.epkafkastarter.consumer;

import org.apache.kafka.clients.consumer.ConsumerRecord;

import java.util.List;

/**
 * @Author: WangYongGan
 * @Date: 2022/5/18 17:44
 * @Description:
 */
@FunctionalInterface
public interface BatchConsumer {
    void accept(List<ConsumerRecord<String, String>>records);
}
